<?php

// ---------------------------------------------------------------------------
// Please, don't touch this file.
// If you need to custom this Class, you can edit oferta.php
// file overwrite and define new methods
// ---------------------------------------------------------------------------

/**
 * 
 *
 * @Authors Sanchez Raul 
 * @package sisco
 * @subpackage model
 */
class Oferta_protoweb extends Sisco_model
{
	public $table      = "ofertas";
	public $model      = "oferta";
	public $has_many   = array('detalle_venta');
	public $has_one    = array('tipo_oferta');
		public $validation = array(
		'identificador' => array(
			'label' => 'Identificador',
			'rules' => array('required')			
		),
		'fecha_desde' => array(
			'label' => 'Fecha desde',
			'rules' => array('required')
					
		),
		'porcentaje' => array(
			'label' => 'Porcentaje',
			'rules' => array('required')
					
		),
		'fecha_hasta' => array(
			'label' => 'Fecha Hasta',
			'rules' => array('required')
		)
	); // $validation
	

	public function __construct($id = NULL)
	{
		parent::__construct($id);
	}

} // Class Oferta_protoweb

/* End of file oferta_protoweb.php */
/* Location: ./application/models/protoweb/oferta_protoweb.php */